package com.stadium.service;

import java.util.List;
import java.util.Map;

import com.stadium.dto.SysUserDto1;
import com.stadium.entity.RTeamUser;
import com.stadium.dto.RTeamUserDto;
import com.stadium.vo.RTeamUserVo;
import com.stadium.vo.searchVo.RTeamUserSearchVo;

/**
 * 球队人员关系表
 *
 * @author wsl
 * @email
 * @date 2021-05-04 09:39:10
 */
public interface RTeamUserSV{
	List<RTeamUser> queryBySQL(String sql, Map<String, Object> map);

    void save(RTeamUserVo rTeamUserVo);

    void saveBatch(List<RTeamUser> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(RTeamUserVo rTeamUserVo);

    List<RTeamUserDto> query(RTeamUserSearchVo searchVo);

    RTeamUserDto get(String id);

    int getCount(RTeamUserSearchVo rTeamUsersearchVo);

    List<SysUserDto1> getUsersByTeamId(String teamId);

    void apply(String teamId, String userId);

    int getAuditCount(RTeamUserSearchVo searchVo);

    void audit(String id, String auditStatus);

    List<SysUserDto1> getPlayersByTeamId(String teamId);

    void teamApply(String teamId, String userId);
}
